package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Paper entity. @author MyEclipse Persistence Tools
 */

public class Paper implements java.io.Serializable {

	// Fields

	private Integer paperId;
	private Company company;
	private Car car;
	private String paperName;
	private String paperType;
	private Short object;
	private Float checkCycle;
	private Set staffpapers = new HashSet(0);
	private Set companypapers = new HashSet(0);
	private Set carpapers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Paper() {
	}

	/** full constructor */
	public Paper(Company company, Car car, String paperName, String paperType, Short object, Float checkCycle,
			Set staffpapers, Set companypapers, Set carpapers) {
		this.company = company;
		this.car = car;
		this.paperName = paperName;
		this.paperType = paperType;
		this.object = object;
		this.checkCycle = checkCycle;
		this.staffpapers = staffpapers;
		this.companypapers = companypapers;
		this.carpapers = carpapers;
	}

	// Property accessors

	public Integer getPaperId() {
		return this.paperId;
	}

	public void setPaperId(Integer paperId) {
		this.paperId = paperId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getPaperName() {
		return this.paperName;
	}

	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}

	public String getPaperType() {
		return this.paperType;
	}

	public void setPaperType(String paperType) {
		this.paperType = paperType;
	}

	public Short getObject() {
		return this.object;
	}

	public void setObject(Short object) {
		this.object = object;
	}

	public Float getCheckCycle() {
		return this.checkCycle;
	}

	public void setCheckCycle(Float checkCycle) {
		this.checkCycle = checkCycle;
	}

	public Set getStaffpapers() {
		return this.staffpapers;
	}

	public void setStaffpapers(Set staffpapers) {
		this.staffpapers = staffpapers;
	}

	public Set getCompanypapers() {
		return this.companypapers;
	}

	public void setCompanypapers(Set companypapers) {
		this.companypapers = companypapers;
	}

	public Set getCarpapers() {
		return this.carpapers;
	}

	public void setCarpapers(Set carpapers) {
		this.carpapers = carpapers;
	}

}